/* 树表格样式 */
.bootstrap-tree-table {
    .treetable-bars {
        .tool-left {
            float: left;
        }

        .tool-right {
            float: right;
        }

        .tool-left,
        .tool-right {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .columns li label {
            display: block;
            padding: 3px 20px;
            clear: both;
            font-weight: 400;
            line-height: 1.428571429;
            max-width: 100%;
            margin-bottom: 5px;
            cursor: pointer;
        }
    }

    .treetable-table {
        border: 0 !important;
        margin-bottom: 0;
        overflow-x: auto;

        table {
            border-collapse: separate;

            >thead {
                background-color: $treetable-thead-bg;

                >tr {
                    >th {
                        line-height: 24px;
                        font-weight: normal;
                        font-size: 13px;
                        white-space: nowrap;
                        border-width: 0;
                    }
                }
            }

            tbody {
                height: auto;
                overflow-y: auto;

                >tr {
                    &:hover {
                        background-color: $treetable-tr-hover-bg !important;
                    }

                    >td {
                        padding: 8px;
                        vertical-align: middle;
                        font-size: 13px;
                        border-width: 0 0 1px 0;
                        border-style: solid;
                        border-color: $treetable-border-color;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                }
            }
        }

    }

    .treetable-indent {
        width: 16px;
        height: 16px;
        display: inline-block;
        position: relative;
    }

    .treetable-expander {
        width: 16px;
        height: 16px;
        display: inline-block;
        position: relative;
        cursor: pointer;
    }
}